#ifndef POWERMANAGEMENTPAGE_H
#define POWERMANAGEMENTPAGE_H

#include <QWidget>
#include <QTableWidgetItem>
#include "sqlhelper.h"
#include <mywidget.h>

namespace Ui {
class PowerManagementPage;
}

class PowerManagementPage : public MyWidget
{
    Q_OBJECT

public:
    explicit PowerManagementPage(QWidget *parent = nullptr);
    ~PowerManagementPage();

    void loadPowerData();

private slots:
    void on_pushButtonInsert_clicked();
    void on_pushButtonModify_clicked();
    void on_pushButtonDelete_clicked();

private:
    Ui::PowerManagementPage *ui;
};

#endif // POWERMANAGEMENTPAGE_H
